/**
 * Created with Intellij IDEA.
 * Description:
 * User:Lenovo
 * Date:2024-12-03
 * Time:19:21
 */
class Date{
    public int year;
    public int month;
    public int day;
    public void Set(int year,int month,int day){
        this.year=year;
        this.month=month;
        this.day=day;
    }
    public void printTime(){
        System.out.println(this.year+"-"+this.month+"-"+this.day);
    }
}
public class Text {
    public static void main(String[] args) {
        Date date = new Date();
        date.Set(2024,12,3);
        date.printTime();
    }
}
